#ifndef VSORENNAYARSHADERFUNCTION_H
#define VSORENNAYARSHADERFUNCTION_H
#include "VSShaderMainFunction.h"
namespace VSEngine2
{
	class VSGRAPHIC_API VSOrenNayarShaderFunction : public VSShaderMainFunction
	{
		//RTTI
		DECLARE_RTTI;
		//PRIORITY
		
	public:
		VSOrenNayarShaderFunction(const VSUsedName & ShowName,VSMaterial * pMaterial);
		virtual ~VSOrenNayarShaderFunction();
		virtual bool GetFuntionString(VSString &OutString)const;
		virtual inline unsigned int GetSMType()const
		{
			return SM_OREN_NAYAR;
		}
		bool UseLookUpTable()const
		{
			return true;
		}
	protected:
		VSOrenNayarShaderFunction();
		DECLARE_INITIAL
	
	};
	DECLARE_Ptr(VSOrenNayarShaderFunction);
	VSTYPE_MARCO(VSOrenNayarShaderFunction);
}
#endif